import {queryPromoterNameByOrderNum} from "@/api/order";

export  function getPromoterName(data) {
    return new Promise(function (resolve,reject) {
        queryPromoterNameByOrderNum({orderId:data}).then(response=>{
            if(response.data!=null){
               resolve(response.data.promoterName+'('+response.data.pomoterNum+')')
            }else {
                resolve("")
            }
        })
    })
}

